<template>
  <header class="index-header">
    <router-link to="/my">
      <div class="header-user">
        <div class="user-btn"></div>
      </div>
    </router-link>

    <div class="header-logo"></div>
    <router-link to="/search">
      <div class="header-search"></div>
    </router-link>
  </header>
</template>

<script>
export default {
  name: 'IndexHeader'
}
</script>

<style lang="less" scoped>
.index-header {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  padding: 0 15px;

  a {
    outline: none;
    text-decoration: none;
    color: #333;
    .header-user {
      .user-btn {
        height: 25px;
        width: 25px;
        background: url("../../../assets/icon/user-btn.png") no-repeat;
        background-size: 100%;
      }
    }
  }

  .header-logo {
    width: 92px;
    height: 28px;
    background: url("../../../assets/logo.png") no-repeat;
    background-size: 100%;
  }

  a {
    outline: none;
    text-decoration: none;
    color: #333;
    .header-search {
      height: 25px;
      width: 25px;
      background: url("../../../assets/icon/search.png") no-repeat;
      background-size: 100%;
    }
  }
}
</style>
